<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s"%>
<html lang="zh_CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=1024, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../CSS/top.css">
    <link rel="stylesheet" href="../CSS/personal.css">
    <script type="text/javascript" src="../JS/top.js"></script>
    <title>个人中心</title>
</head>

<body id="back">
<%
/*  UserInfo user=(UserInfo)session.getAttribute("user"); */
%>
   <div id="top">
        <div class="nav_top">
        </div>
        <div class="navigation">
            <div class="nav" id="nav">
                <ul>
                    <li>
                        <a href="../index.jsp">首页</a>
                    </li>
                    <li>
                        <a href="./man_clothes.jsp" title="男装">男装</a>
                    </li>
                    <li>
                        <a href="./woman_clothes.jsp" title="女装">女装</a>
                    </li>
                    <li id="personal">
                        <a href="./personal.jsp" title="个人中心">个人中心</a>
                        <dl class="nav_two">
                        	<dd>
	                           <a href="./personal.jsp" title="个人中心">个人中心</a>
	                        </dd>
	                        <dd>
	                           <a href="unlogin.action" title="退出登录">退出登录</a>
	                        </dd>
                        </dl>
                    </li>
                    <li id="login">
                        <a href="./login.jsp" title="登录/注册 ">登录/注册</a>
                        <dl class="nav_two">
                            <dd>
                                <a href="./login.jsp" title="登录">登录</a>
                            </dd>
                            <dd>
                                <a href="./register.jsp" title="注册">注册</a>
                            </dd>
                            <dd>
                                <a href="./forget_pas.jsp" title="忘记密码">忘记密码</a>
                            </dd>
                        </dl>
                    </li>
                </ul>

            </div>
        </div>
    </div>
    <div class="header">
        <!-- <img src="../../img/acfun/welcome.png" alt=""> -->
    </div>
   
    <div class="center">
    <s:iterator value="#session.user" id="user">
        <div class="data">
            <div class="data_inside">
                <div class="data_top">
                    <div class="data_top_img">
                        <img src="../IMG/personal/head_picture.jpg" alt="">
                    </div>
                    <p class="name">
						<s:property value="#user.name"/>
					</p>
                    <p class="grade">正式会员</p>
                    <p class="sign">你们在说什么，我听不见...</p>
                </div>
                <div class="data_center">
                    <div class="center_space"></div>
                    <a href="" class="post_history">
                        <span class="num">4</span>
                        <br>
                        <span class="text">历史记录</span>
                    </a>
                    <a href="" class="following">
                        <span class="num">37</span>
                        <br>
                        <span class="text">收藏数</span>
                    </a>
                    <a href="" class="followed">
                        <span class="num">7</span>
                        <br>
                        <span class="text">收货地址</span>
                    </a>
                    <a href="" class="banana">
                        <span class="num">84</span>
                        <br>
                        <span class="text">购买记录</span>
                    </a>
                    <a href="" class="golden_banana">
                        <span class="num">20</span>
                        <br>
                        <span class="text">我的积分</span>
                    </a>
                    <a href="" class="splash">
                        <span class="num">20</span>
                        <br>
                        <span class="text">我的优惠</span>
                    </a>
                </div>
                <div class="data_list">
                    <ul>
                        <li>
                            <a href="">欢迎</a>
                        </li>
                        <li>
                            <a href=""> 收藏夹</a>
                        </li>
                        <li>
                            <a href="">购买记录</a>
                        </li>
                        <li>
                            <a href="">我的足迹</a>
                        </li>
                        <li>
                            <a href="">管理收货地址</a>
                        </li>
                        <li>
                            <a href="">积分</a>
                        </li>
                        <li>
                            <a href="">优惠卡卷</a>
                        </li>
                        <li>
                            <a href="">设置</a>
                        </li>
                    </ul>
                </div>
            </div>

        </div>
        
        <div class="right">
            <div class="right_top">
                <div class="text">
                    <a href="">
                        <span>●</span> 欢迎
                    </a>
                </div>
            </div>
            <div class="right_center">
                <div class="right_img">
                    <img src="../IMG/personal/head_picture.jpg" alt="">
                </div>
                <div class="right_text">
                    <span class="user_name">
                    	<s:property value="#user.name"/>
					</span>
                    <span class="user_id">UID:
                    <s:property value="#user.Id"/>
                    </span>
                    <span class="user_status">正式会员</span>
                </div>
                <div class="info_prompt">
                    <a href="">待付款
                        <span class="info_num">2</span>
                    </a> |
                    <a href="">待发货
                        <span class="info_num"></span>
                    </a> |
                    <a href="">待收货
                        <span class="info_num">1</span>
                    </a> |
                    <a href="">待评价
                        <span class="info_num">6</span>
                    </a> |
                    <a href="">退款
                        <span class="info_num"></span>
                    </a>
                </div>
                <div class="integral">
                    <span style="font-weight:bold; font-size:18px;">可用积分:</span>
                    <span style="font-size:17px;">
						<s:property value="#user.integral"/>
					</span>
                </div>
            </div>
            
            <div class="right_foot">
                <div class="recommend">
                    <span style="padding-left:20px;">根据浏览，猜我喜欢</span>
                    <button>换一组</button>
                </div>
                <div class="all_goods">
                    <div class="goods_center">
                        <div class="goods">
                            <div class="similar">
                                <a href="">找相似</a>
                            </div>
                            <div class="goods_pic">
                                <a href="">
                                    <img src="../IMG/goods/pic1.jpg_220x220.jpg" alt="加厚2017新款冬季长款连衣裙秋季">
                                </a>
                            </div>
                            <div class="goods_price">
                                ¥ 278.00
                            </div>
                            <div class="goods_describe">
                                <a href="">
                                    加厚2017新款冬季长款连衣裙秋季
                                </a>
                            </div>
                            <div class="goods_sales">
                                <div class="sales_data">
                                    <span>月销</span>
                                    <span>1513</span>
                                </div>
                            </div>
                        </div>
                        <div class="goods">
                            <div class="similar">
                                <a href="">找相似</a>
                            </div>
                            <div class="goods_pic">
                                <a href="">
                                    <img src="../IMG/goods/pic2.png_220x220.jpg" alt="【双12加购】ACFUN官方 限量版T恤 I-AM-ACER 印花舒适棉质上衣">
                                </a>
                            </div>
                            <div class="goods_price">
                                ¥ 119.00
                            </div>
                            <div class="goods_describe">
                                <a href="">
                                    【双12加购】ACFUN官方 限量版T恤 I-AM-ACER 印花舒适棉质上衣
                                </a>
                            </div>
                            <div class="goods_sales">
                                <div class="sales_data">
                                    <span>月销</span>
                                    <span>6</span>
                                </div>
                            </div>
                        </div>
                        <div class="goods">
                            <div class="similar">
                                <a href="">找相似</a>
                            </div>
                            <div class="goods_pic">
                                <a href="">
                                    <img src="../IMG/goods/pic3.jpg_220x220.jpg" alt="占美全新双路散热I5迷你电脑主机客厅HTPC">
                                </a>
                            </div>
                            <div class="goods_price">
                                ¥ 790.00
                            </div>
                            <div class="goods_describe">
                                <a href="">
                                    占美全新双路散热I5迷你电脑主机客厅HTPC
                                </a>
                            </div>
                            <div class="goods_sales">
                                <div class="sales_data">
                                    <span>月销</span>
                                    <span>33</span>
                                </div>
                            </div>
                        </div>
                        <div class="goods">
                            <div class="similar">
                                <a href="">找相似</a>
                            </div>
                            <div class="goods_pic">
                                <a href="">
                                    <img src="../IMG/goods/pic4.jpg_220x220.jpg" alt=" 苹果迷你小主机Macmini家用办公台式电脑">
                                </a>
                            </div>
                            <div class="goods_price">
                                ¥ 1491.00
                            </div>
                            <div class="goods_describe">
                                <a href="">
                                    苹果迷你小主机Macmini家用办公台式电脑
                                </a>
                            </div>
                            <div class="goods_sales">
                                <div class="sales_data">
                                    <span>月销</span>
                                    <span>39</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </s:iterator>
    </div>
    <div class="foot">
        <div class="foot_center">
            <p>成都大学Tyh制作</p>
            <br>
            <p>
                <span>联系方式：dztangyinhao@126.com</span>&nbsp&nbsp&nbsp
                <a href="mailto:dztangyinhao@126.com">联系我</a>
            </p>
        </div>
    </div>
</body>
<script>
      login();
</script>
</html>